package com.farm.wdas.client;

import org.apache.log4j.Logger;

/**
 * wdas权限接口（处理用户权限业务）
 * 
 * @author macpl
 *
 */
public class WSAClient {
	private String operatorPassword;
	private String operatorLoginname;
	private String secret;
	private String baseUrl;
	@SuppressWarnings("unused")
	private static final Logger log = Logger.getLogger(WSAClient.class);

	/**
	 * @param operatorLoginname
	 * @param operatorPassword
	 * @param secret
	 * @param serviceUrl
	 * @param guestkey
	 * @return
	 */
	public static WSAClient getInstance(String operatorLoginname, String operatorPassword, String secret,
			String serviceUrl, String guestkey) {
		WSAClient obj = new WSAClient();
		obj.operatorPassword = operatorPassword;
		obj.operatorLoginname = operatorLoginname;
		obj.secret = secret;
		obj.baseUrl = serviceUrl;
		return obj;
	}

}
